package com.yn.club.auth.domain.convert;

import java.time.LocalDateTime;
import java.util.List;
import com.yn.club.auth.domain.entity.AuthRoleDO;
import com.yn.club.auth.infra.basic.entity.AuthRole;

import org.mapstruct.Mapper;
import com.yn.club.common.util.MapStructUtil;
/**
 * (AuthRole)DO和Entity转换
 *
 * @author YN
 * @since 2025-01-22 10:07:43
 */
@Mapper(componentModel = "spring", uses = {MapStructUtil.class})
public interface AuthRoleDomainConverter {

  AuthRole convertDoToEntity(AuthRoleDO ojb);
  
  List<AuthRole> convertDoToEntity(List<AuthRoleDO> ojbs);
  
  AuthRoleDO convertEntityToDo(AuthRole ojb);
  
  List<AuthRoleDO> convertEntityToDo(List<AuthRole> ojbs);
  
  
}

